-- GENERATED SPELL FOR [Hive'Zora Wasp] --


function spell0_11727(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(19448,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11727', 30000, 1)
end

function Sorts_11727(pUnit, Event)
local choix_sorts_11727 = math.random(0, 0)
if choix_sorts_11727 == 0 then
pUnit:RegisterEvent('spell0_11727', 1, 1)
end
end

function mob11727_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11727', math.random(1500, 3000), 1)
end

function mob11727_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11727_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11727_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11727, 1, 'mob11727_Action')
RegisterUnitEvent(11727, 2, 'mob11727_Leave')
RegisterUnitEvent(11727, 3, 'mob11727_Kill')
RegisterUnitEvent(11727, 4, 'mob11727_Die')
